package com.example.democrud.common.exception;

import com.example.democrud.enums.ResponseEnum;

/**
 * @ClassName DBCreateException
 * @Author Administrator
 * @Date 2020/4/23   10:56
 */
public class DBRetrieveException extends RuntimeException {
    public DBRetrieveException() {
    }

    public DBRetrieveException(String message){
        super(message);
    }

    public DBRetrieveException(ResponseEnum responseEnum ){
        this(responseEnum.toString());
    }
}
